<?php
class indexControl extends commonControl{
    public function index(){ //显示后台首页面
    	C('debug',0);
    	//展示配置组
    	$config_type = M('config_type');
    	$con_type = $config_type->field('tname')->all();
    	$this->assign('con_type', $con_type);
    	//获得模型列表
    	$db = M("model");
    	$model = $db->field("mid,mname,title")->all();
    	$this->assign("model", $model);
    	
    	$this->display();
    }
    public function welcome(){ //显示欢迎界面
    	$this->display();
    }
    /**
     * 用户退出
     */
    public function logout(){
    	
    }
}